package com.cake.entity.vo;

/**
 * 订单商品明细
 * @author yjh
 *
 */
public class OrderItemBean {
	private long id;
	
	/**
	 * 商品名称
	 */
	private String name;
	
	/**
	 * 商品备注：包含附送的赠品信息
	 */
	private String intro;
	
	/**
	 * 商品单价
	 */
	private double price;
	
	/**
	 * 数量
	 */
	private int quantity;
	
	/**
	 * 商品id
	 */
	private long productId;	
	
	/**
	 * 订单id
	 */
	private long orderId;

	/**
	 * 商品项图片
	 */
	private String thumbnail;
	
	/**
	 * 配送类型
	 */
	private String sendType;
	
	/**
	 * 净含量
	 */
	private Integer weight;
	
	/**
	 * 购物车id
	 */
	private Long cartId;
	
	
	
	public Long getCartId() {
		return cartId;
	}

	public void setCartId(Long cartId) {
		this.cartId = cartId;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public String getSendType() {
		return sendType;
	}

	public void setSendType(String sendType) {
		this.sendType = sendType;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public long getProductId() {
		return productId;
	}

	public void setProductId(long productId) {
		this.productId = productId;
	}

	public long getOrderId() {
		return orderId;
	}

	public void setOrderId(long orderId) {
		this.orderId = orderId;
	}

	@Override
	public String toString() {
		return "OrderItemBean [id=" + id + ", name=" + name + ", intro=" + intro + ", price=" + price + ", quantity="
				+ quantity + ", productId=" + productId + ", orderId=" + orderId + ", thumbnail=" + thumbnail
				+ ", sendType=" + sendType + "]";
	}
	
	
}
